Add ability to purge historical sessions in batch#2802
Open
FosanzDev wants to merge 2 commits intoChainlit:mainfrom
Open
Add ability to purge historical sessions in batch#2802FosanzDev wants to merge 2 commits intoChainlit:mainfrom
FosanzDev wants to merge 2 commits intoChainlit:mainfrom
Conversation
Additional change: Set three dots visible for mobile view
…s across multiple languages.
Collaborator
|
Thanks for the contrib @FosanzDev! It seems there are are a bunch of translations in your PR which are unrelated to the issue. Could you please remove them? (They are welcome in a separate PR.) |
Author
|
@dokterbob maybe I'm not seeing something! Translations are needed for the "Select" button and for the multiple thread selection dialog. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
WHAT DOES THIS DO?
(Fixes issue: "Add ability to purge historical sessions in batch #2603 ")
Adds new section with a "select" button that when clicked, you can select threads to bulk delete them.
Note: Frontend implementation can be changed based on feedback. Maybe instead of a visible button add it on contextual menu in the three-dot menu to start the "selection" process. Not a professional frontend guy tho
Note: Three dot menu for threads are now permanently visible on mobile view too, which couldn't be seen before
POC: This video proofs its functionality both in desktop and mobile frontends
Screencast.from.2026-02-23.18-27-58.webm
Summary by cubic
Adds bulk deletion of historical sessions from the sidebar with a simple selection mode and confirmation. Implements server/client support and i18n updates to address #2603.
Written for commit d3ba9fa. Summary will update on new commits.